package com.cleaningcloud.cld.domain;

import java.math.BigDecimal;

import com.cleaningcloud.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.cleaningcloud.common.core.annotation.Excel;

/**
 * 资产折旧对象 cld_assets_depreciation
 *
 * @author cleaningcloud
 * @date 2024-11-02
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class CldAssetsDepreciation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 折旧ID */
    private Long assetsDepreciationId;

    /** 资产ID */
    @Excel(name = "资产ID")
    private Long assetsId;

    /** ID编号(根据资产编号XX+ID编号)唯一 */
    @Excel(name = "ID编号(根据资产编号XX+ID编号)唯一")
    private String assetsIdCard;

    /** 项目ID */
    @Excel(name = "项目ID")
    private Long projectId;

    /** 年份 */
    @Excel(name = "年份")
    private Integer year;

    /** 月份 */
    @Excel(name = "月份")
    private Integer month;

    /** 天 */
    @Excel(name = "天")
    private Integer day;

    /** 维修金额 */
    @Excel(name = "维修金额")
    private BigDecimal repailMoney;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal money;

    /** 1折旧2增值 */
    @Excel(name = "1折旧2增值")
    private Long lossType;

    /** 折旧状态（1 未计算 2已计算） */
    @Excel(name = "折旧状态", readConverterExp = "1=,未=计算,2=已计算")
    private Long status;

    /**
     * 当前折旧期数
     */
    private int periods;

}
